//
//  MBOrderFooterSectionView.m
//  MemberBusiness-ios
//
//  Created by 掌心 on 2018/6/1.
//  Copyright © 2018年 zhangXin. All rights reserved.
//

#import "MBOrderFooterSectionView.h"

@implementation MBOrderFooterSectionView

- (instancetype)init
{
    self = [super init];
    if (self) {
        UILabel* titleLabel = [[UILabel alloc]init];
        self.titleLabel = titleLabel;
        titleLabel.text = @"摩拜特供";
        titleLabel.font = [UIFont lf_systemFontOfSize:12];
        titleLabel.textColor = [UIColor colorWithR:153 G:153 B:153];
        [self addSubview:titleLabel];
        
        [titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.centerY.equalTo(self);
            make.left.equalTo(self).with.offset([UIView lf_sizeFromIphone6:12]);
        }];
        
        UILabel* moreLabel = [[UILabel alloc]init];
        self.subLabel = moreLabel;
        moreLabel.text = @"更多";
        moreLabel.font = [UIFont lf_systemFontOfSize:12];
        moreLabel.textColor = [UIColor redColor];
        [self addSubview:moreLabel];
        
        [moreLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.centerY.equalTo(self);
            make.right.equalTo(self).with.offset([UIView lf_sizeFromIphone6:-12]);
        }];
    }
    return self;
}

@end
